public class Dog extends pet {
private int tidy=100;
public void settidy(int input) {
    this.tidy=input;
}
public int gettidy() {
    return this.tidy;
}
private int happy=100;
public void sethappy(int input) {
    this.happy=input;
}
public int gethappy() {
    return this.happy;
}
}
